C# extract all of a property from a list of objcets

82

C# extract all of a property from a list of objcets -

List<string> properties = objectList.Select(o => o.StringProperty).ToList();

Comments

Submit
0 Comments